package com.en.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;

/**
 * @TableName review
 */
@TableName(value = "review")
@Data
public class Review implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private Integer wordId;

    /**
     *
     */
    private Integer userId;

    /**
     *
     */
    private Integer rightTimes;

    /**
     *
     */
    private Integer wrongTimes;

    /**
     * 平均学习频率，单位：秒；
     */
    private Integer studyFrequency;

    /**
     *
     */
    private LocalDateTime lastReviewTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Integer grade;
    @TableField(exist = false)
    private Double r;
    @TableField(exist = false)
    private Integer x;
    @TableField(exist = false)
    private Integer y;
}